<template>
  <div class="header">
    <router-link to="/my" tag="div" class="iconfont back-icon">&#xe7a6;</router-link>
    <div class="header-title">个人信息</div>
  </div>
</template>

<script>
export default {
  name: "UserHeader"
};
</script>
<style lang="scss" scoped>
@import "~styles/varibles.styl";
.header {
  position: relative;
  overflow: hidden;
  height: $headerHeight;
  line-height: $headerHeight;
  color: #ffffff;
  background: $bgColor;
  font-size: 0.32rem;
  .back-icon {
    position: relative;
    left: 5vw;
  }
  .header-title{
    position: absolute;
    top: 0;
    right: 5vw;

  }
}
</style>
